<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box {
            width: 200px;
            height: 200px;
            background-color: pink;
        }
    </style>
</head>

<body>
    <!--
        v-bind 对于样式控制的增强 - 操作style
        语法 :style ="样式对象"
        <div class="box" :style="{CSS属性名1: CSS属性值，CSS属性名2: CS属性值}"></div>
    -->
    <div id="app">
        <div class="box" :style="{width: '400px', height:'400px', backgroundColor: 'green'}"></div>
    </div>

    <script src="../lib/vue.js"></script>

    <script>
        const app = new Vue({
            el: "#app",
            data() {
                return {
                }
            },
            methods: {
            }
        })
    </script>
</body>

</html>